package com.design.pattern.proxy.dynamicProxy.jdkProxy;/** * create by yufeng on 2021/7/4 14:33 */public class Test {    public static void main(String[] args) {        JdkMeipo jdkMeipo = new JdkMeipo();        IPerson zhangsan = jdkMeipo.getInstance(new Zhangsan());        zhangsan.findLove();        zhangsan.buyInsure();        IPerson zhaoliu = jdkMeipo.getInstance(new ZhaoLiu());        zhaoliu.findLove();    }}